import request from "@/plugin/axios";

const BASE_URL = "sys/role-menu";

export function RoleMenuList(data) {
  return request({
    url: BASE_URL + "/list",
    method: "get",
    params: data,
  });
}

export function RoleMenuSave(data) {
  return request({
    url: BASE_URL + "/save",
    method: "put",
    data,
  });
}
